package com.yxw.yxnet_cd_center.customer_service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 群主修改DTO
 * @author liuxin
 * @date 2023.09.28
 */
@Data
@ApiModel(value="FlockLeaderUpdateDTO", description="群主修改DTO")
public class FlockLeaderUpdateDTO implements Serializable {

    @NotNull(message = "群ID不能为空")
    @ApiModelProperty(value = "群ID")
    private Long flockId;

    @NotNull(message = "群主不能为空")
    @ApiModelProperty(value = "群主ID")
    private Long leaderId;

    @NotNull(message = "群主不能为空")
    @ApiModelProperty(value = "群主名称")
    private String leaderName;

}
